The program was loaded into the sonoff switch (no wiring needed).